]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Adapt screenshield to mockups
authorCarlos Soriano <csoriano@gnome.org>
Sun, 8 Feb 2015 17:56:37 +0000 (18:56 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 20 Feb 2015 14:16:56 +0000 (15:16 +0100)
data/theme/_common.scss
data/theme/gnome-shell-high-contrast.css
data/theme/gnome-shell.css
js/ui/screenShield.js

index ac56cf128c88b12413bf6eb1e5bbb166683b108a..3604370b15562d00ff20ed52ad6fcb5177146c41 100644 (file)
@@ -1147,7 +1147,7 @@ StScrollBar {
   .app-well-app-running-dot { //running apps indicator
     width: 10px; height: 3px;
     background-color: $selected_bg_color;
-    margin-bottom: 2px; //FIXME will happen :)
+    margin-bottom: 2px;
   }
   
   %icon_tile {
@@ -1654,8 +1654,6 @@ StScrollBar {
     -arrow-shadow: 0 1px 1px rgba(0,0,0,0.4);
 }
 
-.screen-shield-contents-box { spacing: 48px; }
-
 .screen-shield-clock {
   color: white;
   text-shadow: 0px 1px 2px rgba(0,0,0,0.6);
@@ -1672,6 +1670,7 @@ StScrollBar {
 .screen-shield-clock-date { font-size: 28pt; }
 
 .screen-shield-notifications-container {
+  spacing: 20px;
   width: 30em;
   background-color: transparent;
   max-height: 500px;
@@ -1691,7 +1690,11 @@ StScrollBar {
 }
 
 .screen-shield-notification-source {
-  padding: 3px 6px;
+  padding: 12px 6px;
+  border-width: 2px;
+  border-radius: 5px;
+  border-color: white;
+  background-color: transparentize($bg_color,0.7);
   spacing: 5px;
 }
 
index 60f4d3eb823bff820dc67cfa0924a1c05a38639f..2c2b915b0b870f2c537d1757659c958ddb090878 100644 (file)
@@ -1541,9 +1541,6 @@ StScrollBar {
   -arrow-thickness: 12px;
   -arrow-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); }
 
-.screen-shield-contents-box {
-  spacing: 48px; }
-
 .screen-shield-clock {
   color: white;
   text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
@@ -1559,6 +1556,7 @@ StScrollBar {
   font-size: 28pt; }
 
 .screen-shield-notifications-container {
+  spacing: 20px;
   width: 30em;
   background-color: transparent;
   max-height: 500px; }
@@ -1576,7 +1574,11 @@ StScrollBar {
     spacing: 24px; }
 
 .screen-shield-notification-source {
-  padding: 3px 6px;
+  padding: 12px 6px;
+  border-width: 2px;
+  border-radius: 5px;
+  border-color: white;
+  background-color: rgba(0, 0, 0, 0.3);
   spacing: 5px; }
 
 .screen-shield-notification-label {
@@ -1685,3 +1687,5 @@ StScrollBar {
 
 stage {
   -st-icon-style: symbolic; }
+
+/*# sourceMappingURL=gnome-shell-high-contrast.css.map */
index f52c2afc0c7c3b52966360adaccbfb8abf32f01d..19c05725836c814b9fe68e95fdf599c8a72cffb5 100644 (file)
@@ -1533,9 +1533,6 @@ StScrollBar {
   -arrow-thickness: 12px;
   -arrow-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); }
 
-.screen-shield-contents-box {
-  spacing: 48px; }
-
 .screen-shield-clock {
   color: white;
   text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
@@ -1551,6 +1548,7 @@ StScrollBar {
   font-size: 28pt; }
 
 .screen-shield-notifications-container {
+  spacing: 20px;
   width: 30em;
   background-color: transparent;
   max-height: 500px; }
@@ -1568,7 +1566,11 @@ StScrollBar {
     spacing: 24px; }
 
 .screen-shield-notification-source {
-  padding: 3px 6px;
+  padding: 12px 6px;
+  border-width: 2px;
+  border-radius: 5px;
+  border-color: white;
+  background-color: rgba(57, 63, 63, 0.3);
   spacing: 5px; }
 
 .screen-shield-notification-label {
@@ -1674,3 +1676,5 @@ StScrollBar {
   border: 2px solid grey;
   border-radius: 4px;
   padding: 6px; }
+
+/*# sourceMappingURL=gnome-shell.css.map */
index 0f22fa754b09647ecc611f116305d54f4eb700b8..5a61e6bc3916882ef62ccaae2839421c57aecf1a 100644 (file)
@@ -106,7 +106,7 @@ const NotificationsBox = new Lang.Class({
         this._scrollView = new St.ScrollView({ x_fill: false, x_align: St.Align.START,
                                                hscrollbar_policy: Gtk.PolicyType.NEVER });
         this._notificationBox = new St.BoxLayout({ vertical: true,
-                                                   style_class: 'screen-shield-notifications-box' });
+                                                   style_class: 'screen-shield-notifications-container' });
         this._scrollView.add_actor(this._notificationBox);
 
         this.actor.add(this._scrollView, { x_fill: true, x_align: St.Align.START });
@@ -230,7 +230,8 @@ const NotificationsBox = new Lang.Class({
             countLabel: null,
         };
 
-        obj.sourceBox = new St.BoxLayout({ style_class: 'screen-shield-notification-source' });
+        obj.sourceBox = new St.BoxLayout({ style_class: 'screen-shield-notification-source',
+                                           x_expand: true });
         this._showSource(source, obj, obj.sourceBox);
         this._notificationBox.add(obj.sourceBox, { x_fill: false, x_align: St.Align.START });